package com.smartmedical.system.domain;

import java.util.Date;

public class UserIdCard {
    /**
     * 表示一个用户的信息
     */
    private Long id; // 用户ID
    private int userId; // 用户编号
    private String name; // 姓名
    private String sex; // 性别
    private String nation; // 民族
    private String birthday; // 出生日期
    private String address; // 住址
    private String idNumber; // 身份证号码
    private String issueOffice; // 发证机关
    private Date createTime; // 创建时间


    @Override
    public String toString() {
        return "UserIdCard{" +
                "id=" + id +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", nation='" + nation + '\'' +
                ", birthday='" + birthday + '\'' +
                ", address='" + address + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", issueOffice='" + issueOffice + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getIssueOffice() {
        return issueOffice;
    }

    public void setIssueOffice(String issueOffice) {
        this.issueOffice = issueOffice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public UserIdCard() {
    }

    public UserIdCard(Long id, int userId, String name, String sex, String nation, String birthday, String address, String idNumber, String issueOffice, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.birthday = birthday;
        this.address = address;
        this.idNumber = idNumber;
        this.issueOffice = issueOffice;
        this.createTime = createTime;
    }
}
